#pragma once
#include "Packet.h"

class McuHandler
{
private:
	McuHandler();
	~McuHandler();
public:
	static McuHandler* Instance();
	void Handle(Packet* pPacket);
private:
	void SpecialResp(unsigned char nCmd, unsigned char* pData, int length);
	void GeneralResp(unsigned char nCmd, unsigned char result);
	void OnAccState(Packet* pPacket);
	void OnDebug(Packet* pPacket);
	void OnInput(Packet* pPacket);
	void CanRead(Packet* pPacket);
private:
	static McuHandler* m_pInstance;
};
